﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Specialties.aspx.cs" Inherits="RedHouse.Web.Speciaties" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            $("#nav li").removeClass("active");
            $("#menu-specialties").addClass("active");
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="col-left">
        <div class="left-title">
            <h1>
                Our Specialties</h1>
        </div>
        <div class="left-content">
            <ul class="specialties">
                <%if (Dishes != null)
                  {
                      foreach (RedHouse.Data.Entities.RedHouseDish item in Dishes)
                      {
                %>
                <li><a href='Dish.aspx?category=specialties&id=<%=item.Id%>'>&nbsp;&nbsp;&nbsp;&nbsp;<%= item.Title%></a></li>
                <%
                      }
                  } %>
            </ul>
        </div>
    </div>
    <!-- END .col-left -->
    <div class="col-main">
        <div class="main-title">
            <h1>
                &nbsp;</h1>
        </div>
        <div class="main-content">
            <asp:Repeater runat="server" ID="rptDish">
                <HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <div class="dish">
                        <div class="dish-title">
                            <h1>
                                <%#DataBinder.Eval(Container.DataItem,"Title")%>
                            </h1>
                        </div>
                        <div class="dish-thumb">
                            <a href='Dish.aspx?category=specialties&id=<%#DataBinder.Eval(Container.DataItem,"Id")%>'>
                                <img src='<%#DataBinder.Eval(Container.DataItem,"ImageUrl")%>'  /></a>
                        </div>
                        <div class="dish-description">
                            <p>
                                <%#DataBinder.Eval(Container.DataItem,"ShortDesc")%>
                            </p>
                        </div>
                    </div>
                </ItemTemplate>
                <AlternatingItemTemplate>
                   <div class="dish-right">
                        <div class="dish-title">
                            <h1>
                                <%#DataBinder.Eval(Container.DataItem,"Title")%>
                            </h1>
                        </div>
                        <div class="dish-thumb">
                            <a href="Dish.aspx">
                                <img src='<%#DataBinder.Eval(Container.DataItem,"ImageUrl")%>' /></a>
                        </div>
                        <div class="dish-description">
                            <p>
                                <%#DataBinder.Eval(Container.DataItem, "ShortDesc")%>
                            </p>
                        </div>
                    </div>
                </AlternatingItemTemplate>
                <FooterTemplate>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    <!-- END .col-main -->
</asp:Content>
